package ooday05;
/**内部类*/
public class InnerClassDemo {
    public static void main(String[] args) {
        Mama m = new Mama();
        m.create();
    }
    static class Mama{
        String name ;
        void create(){
            Baby b = new Baby();
            b.n();
        }
        static class Baby{
            void n(){
                System.out.println("bbb");
            }
        }
    }
}
